//
//  ARTWatchHistorySleepYangJianView.m
//  ChartsDemo
//
//  Created by yunda on 2022/1/18.
//

#import "ARTWatchHistorySleepYangJianView.h"

@implementation ARTWatchHistorySleepYangJianView

-  (instancetype)init{
    self = [super init];
    if (!self) {
        return nil;
    }
    // init code
    NSArray *arrayOfViews = [[NSBundle mainBundle] loadNibNamed:@"ARTWatchHistorySleepYangJianView" owner:nil options:nil];
    // 加载nib
    self = [arrayOfViews objectAtIndex:0];
    self.backgroundColor = [UIColor whiteColor];
    self.frame = J_Frame(15, 0, J_SCREEN_WIDTH-15*2, _bottomView.v_MaxY+20);
    
    J_ViewRadius(self, 10);
    
    _odiTitleLabel.text = FYLocalizedString(@"sleep_watch_risk_odi", @"");
    _odiLabel.text = FYLocalizedString(@"sleep_watch_odi_introduce", @"");
    _label1.text = FYLocalizedString(@"oxygen_normal", @"");
    _label2.text = FYLocalizedString(@"oxygen_light", @"");
    _label3.text = FYLocalizedString(@"oxygen_moderate", @"");
    _label4.text = FYLocalizedString(@"oxygen_severe", @"");
    return self;
}
/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
